package com.nova.edc.service.system.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.nova.edc.dao.system.PaymentDao;
import com.nova.edc.model.system.Payment;
import com.nova.edc.service.system.PaymentService;

public class PaymentServiceImpl implements PaymentService {

    @Autowired
    private PaymentDao novaPaymentDao;

    @Override
    public List<Payment> findAll() {
        return novaPaymentDao.findAll();
    }

    @Override
    public Payment insert(Payment payment) {
        return novaPaymentDao.insert(payment);
    }

}
